package com.miao.aop02;


public class UserAddReq {

    private String name;

    private Integer age;

    private String telPhone;

    //加上注解表示这个是Base64格式的参数，需要特殊处理。
    @Base64Pic
    private String image; //接收是Base64格式的图片，，需要保存到文件服务器后转换为url


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "UserAddReq{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", telPhone='" + telPhone + '\'' +
                ", image='" + image + '\'' +
                '}';
    }

}
